package com.sjr.easy.chat.service;

import com.sjr.easy.chat.model.ChatGroupUser;

import java.util.List;

public interface ChatGroupUserService {

    void batchAddChatGroupUser(List<ChatGroupUser> chatGroupUserList);


    List<ChatGroupUser> selectByChatGroupId(Long chatGroupId);


    List<ChatGroupUser> selectByChatGroupIdList(List<Long> chatGroupIdList);


    ChatGroupUser selectByUserIdAndChatGroupId(Long userId, Long chatGroupId);


    List<ChatGroupUser> selectByUserId(Long userId);

    void quitChatGroup(Long chatGroupId, Long userId);
}